package com.mm.cloud.sys.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 路由
 * </p>
 *
 * @author mr
 * @since 2020-09-15
 */
@Data
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Schema(description = "路由")
public class MetaVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "设置该路由在侧边栏和面包屑中展示的名字")
    private String title;

    @Schema(description = "设置该路由的图标，对应路径src/assets/icons/svg")
    private String icon;

    @Schema(description = "设置为true，则不会被 <keep-alive>缓存")
    private boolean noCache;

}
